<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<title>POS收单运营管理平台</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<link href="<s:url value="/css/a.css"/>" type="text/css"
	rel="stylesheet" />
<link href="<s:url value="/css/index.css"/>" type="text/css"
	rel="stylesheet" />


<script type="text/javascript"
	src="<s:url value="/js/jquery-1.9.1.min.js" />"></script>
<script type="text/javascript"
	src="<s:url value="/js/jquery.validate.min.js" />"></script>
<script type="text/javascript"
	src="<s:url value="/js/pwms.validate.js?v1" />"></script>
<script language="javascript" type="text/javascript"
	src="<s:url value="/js/My97DatePicker/WdatePicker.js"/>"></script>

<style type="text/css">
.fieldError {
	color: red;
	text-align: left;
}

.error {
	float: none;
	color: red;
	padding-left: .5em;
	vertical-align: top;
}

table th {
	font-weight: bolder;
	text-align: left;
	background-color: #5599FF;
}
</style>
<script type="text/javascript">
var interval;
var timeOver = 120;
$(document).ready(
			function() {
			$("#updateForm").validate({
		
			debug : true,
			submitHandler : function(form) {
			
				form.submit();
			},
			
			rules : {
				"susMerinfo.businessLiscences" : {
					required : true
				},
				"susMerinfo.cardNo" : {
					required : true
					
				},
				
				"susMerinfo.merinfo" : {
					required : true
				},
				"susMerinfo.business" : {
					required : true
				},
				
				
				"susMerinfo.areaCode" : {
					required : true
				}
				
				

			},
			messages : {
				"susMerinfo.businessLiscences" : "必填",
				"susMerinfo.cardNo" : "必填",
				"susMerinfo.merinfo" : "必填",
				"susMerinfo.business" : "必填",
				"susMerinfo.areaCode" : "必填"
				
						
				
			},
			onsubmit : true,
			invalidHandler : function(event, validator) {
				alert("您的输入信息不完整或者不符合要求，请检查后重新输入");

			}

		});	
		
		
					    	
});
function go(){
	     history.go(-1);
}
</script>

</head>

<body>
	
		<div class="subpage">
			<s:form  namespace="/susMerinfo" action="addSave.ct" method="post"
				cssClass="cmxform" id="updateForm" theme="simple">
				<s:hidden name="oper.id"></s:hidden>
				<s:hidden id="roleType" name="oper.roleType" />
				<div class="user_title">
					<h2 class="headline-inquires">
						POS收单运营管理平台<br />
						<span class="sub-title"></span>
					</h2>
				</div>
				<table width="100%" border="1" cellspacing="0" class="table">
					<tr>
						<td colspan="4" align="center">

							<h2 class="headline-inquires">
								可疑商户新添<br />
								<span class="sub-title"></span>
							</h2>
						</td>
					</tr>
					<tr>
						<th colspan="4">可以商户详细信息</th>
					</tr>
					<tr>
						<td align="right" width="15%">营业执照号：</td>
						<td width="35%" >
						   <s:textfield cssClass="queryWidth" id="businessLiscences" name="susMerinfo.businessLiscences" /><font color="red">*</font></td>
						 <td align="right" width="15%">法人身份证号：</td>
						<td width="35%"><s:textfield  cssClass="queryWidth" id="cardNo" name="susMerinfo.cardNo" /><font color="red">*</font></td>	  
						
					</tr> 
					<tr>
						<td align="right" width="15%">商户名：</td>
						<td width="35%"><s:textfield cssClass="queryWidth" id="merinfo" name="susMerinfo.merinfo" /><font color="red">*</font></td>
						<td align="right" width="15%">所属行业：</td>
						<td width="35%"><s:textfield cssClass="queryWidth" id="business" name="susMerinfo.business" /><font color="red">*</font></td>
					</tr>
					
					<tr>
						<td align="right" width="15%">所属地区：</td>
						<td width="35%"><s:textfield cssClass="queryWidth" id="areaCode" name="susMerinfo.areaCode" /><font color="red">*</font><font color="red">*</font></td>
						
					</tr>
					<tr>
						<td align="right">备注：</td>
						<td colspan="3" ><s:textarea rows="5" cssClass="someWidth" name="susMerinfo.col1" /></td>        
					</tr>
					
				
					<tr>
						<td colspan="4">
						</td>
						     
					</tr>
					
					
					<tr>
						<td colspan="4" align="center"><span style="font-color: red"><s:actionerror /></span>
							<span style="font-color: red;"><s:actionmessage /></span > <span style="font-color: red;"><s:fielderror
									cssClass="fieldError" /></span>
							<span id="otherError"></span>
						</td>
					</tr>
					<tr>
						<td align="center" colspan="4"><s:submit id="btnSave" value="新 添"/> &nbsp;&nbsp; 
						<s:reset  value="取  消"/> &nbsp;&nbsp; 
							</td>
					</tr>
					<tr>
						<td colspan="4" align="center">&nbsp;</td>
					</tr>
				</table>

			</s:form>
		</div>
	
</body>
</html>
